﻿#pragma once


// CWhiteTestDlg 对话框

class CWhiteTestDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CWhiteTestDlg)

public:
	CWhiteTestDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CWhiteTestDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_WHITE };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	void ReadConfigIni();
	void SaveEditValueToConfig();

	virtual BOOL OnInitDialog();
	virtual void OnCancel();
	BOOL m_bFlag1;
	BOOL m_bScanX;
	BOOL m_bScanY;
	int m_nScanDis;
	int m_nThreshold;
	int m_nFilter;
	afx_msg void OnBnClickedButtonSave();
	BOOL m_bFlag2;
	float m_dHigh;
	float m_dLow;
	int WhiteRectX;
	int WhiteRectY;
	int WhiteRectW;
	int WhiteRectH;
	BOOL IICFlag;
	CString FW_SlaveAdd;
	int IICLength;
	int IICMode;
	BOOL WhiteCutFlag;
	BOOL lightflag;
	int lightx;
	int lighty;
	int lightw;
	int lighth;
};
